home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / SCAPI 0.85 / Spunk Cross API 1.0 / MacSCAPI / Headers / SCAPIMenuBar.h < prev    next >
Encoding:
Text File  |  1997-05-30  |  1.2 KB  |  56 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    SCAPIMenuBar.h               ©1997 Spunk Cross         All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef SCAPIMENUBAR_H
  6. #define SCAPIMENUBAR_H
  7.  
  8. #include "SCAPICommonIncludes.h"
  9. #include "SCAPIMenu.h"
  10.  
  11.  
  12. // ---------------------------------------------------------------------------
  13. //        • SCAPIMenuBar Class
  14. // ---------------------------------------------------------------------------
  15.  
  16. class SCAPIMenuBar
  17. {
  18.     friend class SCAPIApp;
  19.     friend class SCAPIWindow;
  20.  
  21.     // ===========================================================
  22.     // === Spunk Cross API, these are the routines you can use ===
  23.     // ===========================================================
  24.     
  25.         // • Constructor - Destructor
  26.         // --------------------------
  27.         
  28.     public:
  29.     
  30.         SCAPIMenuBar();
  31.         
  32.         ~SCAPIMenuBar();
  33.         
  34.         
  35.         // • Member functions
  36.         // ------------------
  37.         
  38.     public:
  39.     
  40.         void    AddMenu(SCAPIMenu*    inMenuP);
  41.         
  42.         
  43.     // =================================
  44.     // === Internal part, do not use ===
  45.     // =================================
  46.     
  47.         // • Member variables
  48.         // ------------------
  49.         
  50.     private:
  51.     
  52.         SCAPIMenu*        mMenuP[50];
  53.         int                mNumMenus;
  54. };
  55.  
  56. #endif